﻿PenMount 6000 for RS232 Linux X Window drivers & utilities 
Version: 1.0

Files:
Driver/              -- Penmount driver
Utility              -- Penmount calibration utility
                        Penmount right click emulation utility
xorg.conf.sample     -- xorg.conf sample

Please check your Fedora version first and download the PenMount driver,
then follow the procedures to install Linux driver and calibration utilities.

A. Driver installation procedures:

  1. Login system with "root"
  
  2. Copy penmount driver "penmount_drv.o" into the directory named"/usr/X11R6/lib/modules/input"  
      EX: #mount /dev/cdrom /mnt/cdrom  
          #cp /mnt/cdrom/Driver/Linux/Driver/penmount_drv.o /usr/X11R6/lib/modules/input/penmount_drv.o
     
  3. Edit Xorg.conf file to load driver. You can refer to "Xorg.conf.sample"         
         
     a. # gedit /etc/X11/Xorg.conf  (in Xwindow only, or you can use "vi" text mode editor)
                                    (use copy and paste to modify the following lines)

     b. In the Section "ServerLayout", add a statement :

        InputDevice    "Penmount" "AlwaysCore"

     c. Add a Section "InputDevice" :¡]Here we suppose that touch screen controller is connecting to COM1)

        Section "InputDevice"
        
	Identifier  "PenMount"
	Driver      "penmount"
	Option      "Protocol"	   "Auto"
	Option      "Device"	   "/dev/ttyS0"  #ttys0=COM1,ttys1=COM2
	Option      "PMode"        "1"
	Option	    "MinX"	   "10"
	Option	    "MaxX"	   "1000"
	Option	    "MinY"	   "10"
	Option	    "MaxY"	   "1000"
        Option      "Beep"         "1"	    #  0 = no beep, 1 = beep enabled
        Option      "PressVol"     "100"    #  volume of beep (press event)
        Option      "PressPitch"   "880"    #  pitch of beep (press event)
        Option      "PressDur"     "15"     #  length of beep in 10ms (press event)
        Option      "ReleaseVol"   "0"	    #  volume of beep (release event)
        Option      "ReleasePitch" "1200"   #  pitch of beep (release event) 
        Option      "ReleaseDur"   "10"	    #  length of beep in 10ms (release event)
	Option	    "BaudRate"     "19200"  #  or "9600" (baud rate of serial port)
        EndSection
 
  4. Enable Beep Sound 
  In Fedora Core3,the PC buzzer is disabled in the default mode,to activate beep sound,please follow the steps below:
 
    a.#cd /etc/rc.d
    b.#vi or gedit rc.local file
    c.add a statement  "modprobe pcspkr"
    d.save and exit
    e.reboot

  5. # startx
  6. Do calibration for the first installation.
  7. The Penmount can work well.      

B. Utilities Installation procedures:

  1. Copy the file under utitliy/ into the "/usr/local/pencal" directory.
     # mkdir /usr/local/pencal
     # cp * /usr/local/pencal

  2. Input "startx" to start X window.
     EX: # startx

  3. In the X window system, open a terminal window and type
     EX: # cd /usr/local/pencal
         # ./adv-calib [4|9|16]
           ./adv-calib 4  (=calibration 4 point)
           ./adv-calib 9  (=calibration 9 point)
           ./adv-calib 16 (=calibration 16 point)

  The display will appear a calibration window, follow up the red points to do calibration, 
  When calibration window close then Finished! 

  4. Issue the following command to display the right click button icon:
     # ./right-click-emulator

Copyright (c) By Dialogue Technology Corp. All rights reserved. 
July 18, 2006
